moving add_control to base class