while generating the number it should contain leading zeros