added archive message handler