3.1. Algorithms.