commented out websockets implementation