add archive and publish methods