all that needed is the math funtions now