Initial commit of convert functions