finished function archieve