changed to private a bunch of methods that don't need to be public