d is now undefined, so this code will not work.