adding collections to localStorage