learning about functions and objects