migrated some usefull minc-related functions