table is now fully functional