add some function
main