added gpsr.c