wrote some test code. Not yet operational code