Created function chaining example