add some function , including statistics of some type