Created appropriate layout