preperation for LayoutManager