improve inline example code

Improve clarity and demonstrate a bit more of the Timeline capability without making it entirely complex to understand.