add some adaptation for Unit 2 Days 17-19. not quite finished yet.