added open falg