what's wrong with this code. cant get the last condition.