functionality for creating pairs