second example added
Minor refactoring
Refactoring round 2