Changed function names in gridutil