Extended example, updated copyright headers