directive for condition created