improved the colorred output; close #17; close #18