got rid of some leftover code fragments in prob417.