sorting out a layout and the presented data