improved example
improved track plotting