apply to first element in selection