enable major func