first attempt at buffer.toString