use select in server