Add level algorithms

Useless assignment to variable - `sleep_counter`.