Refactoring
Encoding & Decoding whole strings