Working phase_4 at least with tests 05, 08, 09, 11