added socketio for debug info