added binary-to-decimal