reopen method added