added num conversion