extracting utility
Removing overuse of Pair object