Added contrast check!