arrange code