Basic implementation of different gof patterns