Adding periodic scheduling