Use string for buffer