Created function calls before and after a function definition