Formatting and added base64 methods