initial commit

an outline of some logic