Nice way of using the local storage