Directive and some layout