initial upload of code. Not yet working.