Table templates now fully functional