Clock tutorial

Adapted solution using key function to avoid removing and creation path elements.