added demo stuff for pairs