FOXX api to be debugged