fixed most of Reynolds code style and convention suggestions