intervals() is now a method