new functions for table
add to namespace