2nd example showing directive