add accessors for assigning attributes