add some  code to core.py in server module