Add selectivity_fucntion (not working)