value method can set values in children