support display callback