set up archive tables