- some minor change to make the sample more clear and easy to understand