use to_s instead of format for pretty output