tweaked sample_mniw again