update mimic module to do higher order prefixes