using base64 instead of hex