start with gf(257) implementatio