add communication between child and parent