finished product part one of hw#4