unbind and close methods added but with comments