working on layout editor