update#3

Implementation 4/6 algorithms.