minor updates to improve code readability. no real code changes.