Add a definition and a scheduel