do not call Boolean constructor
use StringBuilder and append instead of StringBuffer and concatenation