attributeArray only retrieves non entity attributes
added entityArray