Bug fix

Prints pairs as it did before.