Week 1: programming problem solved; refined utilities