now needs a decimal number as initial value instead of a binary string