add calculation phases