Updated number function and Added Array function