added alg top notes