modified server module.