removed map-like calls from pair templates
compilation achieved
new error -> int is not iterable