tweaked a few print lines for clarity