changed controller scope