implemented Paring