rewrite 4.0 - 4.1 with nico