changed layout of tables