misc:init code