Commit 17 - setting up the annonymous function