Some notes about the algorithm