add module function
Merge branch 'sv2'