add a scheduler