Merge pull request #9 from simonepigazzini/master

fixed TOT bug
bug tOT fixed
update with new TOT