Thai add some function new