improved string format