removed external base64 methods