table now uses views