added register phases