levelgen modified