added terminal color support