Added Delay method to take the input milliseconds time