Proj2: added display data function