changed mod_init to static