Figured out how to separate functions again properly thanks to professor. It also builds, but so far, obviously it does not do what it's supposed to do!