Amended methods

Attributes from object to array