First draft of pairs functionality.