replace (apple_x,apple_y) with apple