First working example of a GP