Added level to phases