added interval storage in local storage