add the display() function to the shift test