extending code to allow for white card redraws