Make failed, changing tot variables for sum