creating layout