added documentation for phase4