added favourites and local storage