arranging horizontal and vertical with revisions