solver 2 works