adding a simple sample to show how scheduler works