test some function