import missing bits and pieces from utilmm