implement class Control