wrote basic directive