try to access provate method from inherited class