Changed a few methods to be private instead of public