added error message colouring