get_table function to provide access to loaded tables