moving functionality to parent from ctrls