I think the assignment to ``$controller`` is missing