function bin2dec() .. save's attributes first.