working on go to function