modified displaycontroller