Changed StringBuffer to StringBuilder