Removed dead interval code