add mem and open