use the whole array
removed extraneous line and tweak noise.