Creating compositional version of select.
Created compositional form of select method and predicates