simplifying examples, using fragments