story encoding

