initial version
a good initial version started and working apparently.