An example of an implementation of GPS