added controller to each partial