display function added and added example from main