cleaning up the doctoring