moved untar code