new constructor in Levelgen