Arrange code