added torch model and made scale timer