implement pseudo-element