toString Part B implementation