Add function to build story