sprinkle const char where appropriate