finish one TODO
formate code
update some notes