The science behind storytelling