extracted example + writing