Jack and the beanstalk sequencing