added temp code to try other coherence alg