choosing generator