adds photoArchive functionality