contract selector piping