add delegation demo