added controller as a dependency