constructor function with fallback values and using inheritance to initialize your objects properly