get rid of pointless pxToNum()