learning about constructure functions and their property to access them