Setting up forFeature() from string to selection function