add callback to remove