change display function