addressed issue #1 and added stats via LocalStorage