Examples correcred and aligned to the last api