create goto function

create goto function