added coref chains, done except for testing