additional comments for algorithm