Front End Code for Story