basic tar working