Fixes problems with retrieving stored vals. Saves number as number