use the initialize method in example contexts