implement initialized callback