Creating a list of layout elements