auto trans data ,without hardcode