caused constructor pattern implementation output to be printed to the screen