very niave approach to this problem.  Make better? [#21]