started work on deinit