adding attributes / methods to parent class

DRY - Don’t Repeat Yourself methodology
These methods in the parent class should be inherited by the sub classes