add story related function