added element to formatSelection