Cleaner than before...ish
Breaks when the local storage is cleared