initial commit

this was a quick hack late one night...