refactor goTo to take parameter object as argument
remove errant console
refactor goTo again