last condition is not verifying :(