displayfunction changed.