Replaced 'duration' with 'interval'