updated version of examples