switch to binary type instead of pure byte[]