Making level generation work