well indented GRS.c