Parameter Mode Added

added one more parameter, so it'll save the mode.