replaced global string constants with inlines