add tar handling