add select story function