Made private functions that don't need to private