works except for putting names back in