arranged code