have to check for nonexistent attributes