Added interval stuff.