added archive behavior