makes a method that should be private private