abandoning flask for mesh