added tails rendering