use nil? instead of <attr_name>?