added spec and code for two pairs