added tails as an option