Take two on this CIS490 homework