Checking for a pair of params