initial version of layout