Function composition example