Adds buildString method