preparations for new random matching