squashed a bug
added archive helper