add scheduling and priority