a nicer way to format strings, may be slower.