updated ListGen for mono compatibility