Adding  definition of first funtion datainut method.