redid a bunch of classes. Now is time to start implementing functions