another attempted pair-value script