switch to generators done