added goto definition function