broke dynamic building generation, crashes browser