modify generators