added decimal functionality