Summarized code of first example