convert record