now does binary->decimal conversion on the fly.