made private methods to be public