moved torches to generic torch class