added tar processing