arrange printing squence