Examples added and doc updated