line with OR that can be refactored