add logger and colorize