add convert library and add val for convert