work on Control.cpp