unnecessary open/close methods removed