working on layout splitter