acceept None as flag