added interval
starting on the modal work