got all layout properly arranged