whoops two function nests
Merge pull request #22 from schristel-USGS/master

whoops two function nests