renaming toa -> tot