helper for minicore