some code about math