adding list logic
Adding directives