Started implementation of goto node function