replace 5000 by 1000