check solution