working now. not sure why.
adding some tests
more tests
clean up