inserted test print statement for select function