second phase is implemented