basic structure of function call set up and compiles. not finished writing it