defining own directive