created main fucntion that will call the other functions, tested with a simple return to ensure the functions were being called