first pass at advanced category selector