Add sample to show how to use functional composition