convert structure