New Function

added function with number printing