moving ANSI escape codes to helpers