extract text example into own generator