reading from local storage added