removed unused x_pos, y_pos