Added separate function engine_init_sets to initialize sets