Added the twisted version of the code .