added color and iohandler