minor refactoring - implement the liskov's substitution principle
Merge pull request #19 from rpepato/master

Minor Refactoring