initial prototype of faceting