sed by variant