Updated controller to use near named scope