Exploring function through objects