replace 10000 by const variable with clear name