added b64 code