removed need for base64 module and redid string formatting