refactor to prepare for drawing more than examples