Now that we have deployed our sample function, let’s extend the function code a little to make it a little bit more useful.