working on base table