add coloured less tree function