testing create select function