new version hw2 for phil50