added support for white background