select function test done