first version of layout