change loadTable to getTable in stored proceudres