Arrange code layout