add on-new callback