Add code for one solution and all solutions