Using Pairs class in predefinedParams
Switched to using several key pairs in calls