Defining Function Outside Classroom