added example of context manager use