adding directive demo