Add Selection function.