refactored changes to remove superfluous line breaks