adding gotoFrame