correctly return all the needed attributes