Implemented open and close public methods