added additional params in phasing