Updated constructor to initialize destroy and and defined get_destroy function