trying out again with the same base64 function