First working version of torches.