updated for generation option change