implemented goto(X,I)