Some improvements in example