Switched from string to bytestring