simpler code
formatting cleanup
adding in the associated metaclass for attributes