according to task description you don't need !sBuff.length()) check