cleaning and counter
qmap
added backwards compatibility fro module iterator until groups have more power