why we need to make listOfFav global ? Is it used somewhere else?