add tails for rendering