fixed local storage
improved scoring