added sweep param option