add center_x and center_y