finished re-editing gridbase