changed some styling and comments for consistency