ex6 - pre-run + post-run