Added nested directives
Work on directives