generate seasons logic.