cleaning up the whole thing