added gensis block gen code back in