Forgot to take out the 'flush' calls in version document I used as an example