Block generation added