changed layout and css classes