implemented level string formatter