Source code for GF