finally figured our rev/cmp bit