some corrections
updated the examples