module creation helper function
use module creation helper