add :first and :last selector