Changed goal to take x,y co ords