use contents instead of text