Adding a chaining sample which shows how you can chain functions.