Incorporated comments from Matt and Arun

Modifications based on Matt Dowle and Arunkumar Srinivasan’s helpful
comments.