better support for binary data