Code for book stayed forecast