task 6 [9 flicks]: added super algorithm