return x,y,angle of goal, code cleaned