textured table, some refactor