added new example
minor corrections