modification for wicegrid