updated and added new example