initial commit, bringing some code over