changed layout in frag 1 and 2