added second example, some comments