added number function.