pairwise working, has console logs, will be removing next