added warnings from lily and solved them for the jazz book