GoL made more functional