Added inline examples and added multiple sweep example