now init and close are in ID mode