format for trgen format on server