enhanced display method code