added base64 string support