Working with some kind of trails