defining attributes on objects