implemented archive widget view logic