completed decimal code block