SubSelect implemantation