made some behind the scenes changes to the controller