made archive.php a little more understandable. added a non-working implementation to piece.