added color to i/o