add basic string formatting for marks