BlockGeneration.swift