Updated checkPass()