common/convert library