initial checking of code that compiles.  Still needs unit tests.