demonstrating sampleOn. only run output action on changed msg