.
Reorganized
Added math function