made changes that kuperman suggested