call the method from outside