Initial commit of Pat's code