change visibility of method