Helper function in Table.h