handle more types of archvie