updated still having issue with show data function.