use match spec (instead of select)