Slowly-but-surely chipping away at problem 1