updated README and docs for interval function