made alterations to the controller