move methods to the private section