add days remaining in loop and chapter