made some changes to MY_Controller