added slightly modified base16 version