why my 3rd and 4th condition not passing?