added two functions
check() hasn't passed yet