added feature to set arguments sequentially