send func to child