Definition for display function defined