archive loading support
tabs to spaces, add new function