correcting the main functionality of solver