change of && to || in if statement.