What is the 1000 here?  Why 1000?  Why hard-coded?