add better error message for attributes after "with" clause, commented out print statements that will be removed shortly