create and get story & code clean up