Making check more efficient.