this is the basic skeleton set up for an anonymous function