init commit version 6 return function from module