trying to reduce flashing