replace algorithm7.2 with algorithm6.2