POW
added math
better naming scheme
fixed typos