initial commit, with work from approximately early 2013