base64 encoding added