adding a directive