some things I changed to get pow to work and compareChange