added string formatting functions.