used base64 instead of hex code