checking for tbl creation is done on main procedure