consolidated if statement