start on table/directory routines