added context manager example