added show_tables() function