misc utilities for EcoFOCI