Working on Display data function