add method doBase64