Experimental

for better code readability please create local copies of getPref and getRadix in the beginning of the method and use them instead.