simplified check solution