initial commit, adding original code