Replace unless by if