changes to the display function

Signed-off-by: krishnatejaperannagari <krishnatejaperannagari@gmail.com>