added init_module function