added medium type to archive