check for conditions, not elements