Changed newResult.replace()s Updated Comments