made minor readability changes