started impleneting a goto routine