Class for the control