changed layout according to needs