validation of solutions