updated string formatting to use constants