update problem specs, remove extraneous code