Added tails and clump functions