Adding Eric's code to the repo so all can see it