prepare simple directive