added open and close for insert