Changing StringBuffer for StringBuilder