cleaning up + must have at least one flatMapValues between join and store check