minor fixes
added get_all_attributes method