add interval manager code