added example, updated version