fix examples to have good window for visualization, and add some keyword arguments went creating tasks