wentwrong in check() was wrong