fixed up example to work with ES2