'condition' is very generic name for a variable.

Maybe rename it to something more specific. Or get rid of it altogether because it's not used anywhere else.