change goTo Accepts method.