added comparesion of tables