Added base64 code