add total.json but unfinished