added struct and reflect value transformation functions