added utils to convert existing data