Added a scheduler example