some code for test,learning,etc.