this is duplicated. below is the real example with namespace and class.