Utilities (part of JMMO project)