coverage algorithm added