examples have been updated