base64 methods added