changed to 1000 to named constant

Changed 1000 to named constant NumMessages