adapt for pandexio