changed cast to worldgenerator