remove unused code
refactor
history: arr -> json
use regular str->json method
refactor
count history
lowercase
update version
revise title