removed chapter logic