changed grid controller functions to singular