colour legend properly implemented