Added a template for scheduling