first working version with socketio