start_x, start_y and some other minor changes