Working with temporal sequences