added support for custom background color