controller.cpp stophook added