Fix for issue #1

Updated method for setting the fourth digit.