coloured output finished, bug fixed