got an example working with kde plotting