start of s06 ALGO