making changes to hook up controller