tableau as a class