changed colouring system