coral algorithm should be updated correctly