changed toString encoding to binary