edit to init code