control class is implemented with methods