line and donut directives with example added