Added bgcolor parameter in the constructor