first pass

Fixes #46