updated string formatting