removed goToProcedure() method because it was only made use of in one place.