You have a syntax error within this if statement. Your logic is correct though.