improved this example
added PLT example