use select method