Created the main interface pairs.c