Checking if wrong output can occur