completed creation of layout