updated mc generator