Updated with needsAttention method.
updated mark-up to use new needsAttention method