improved coloring and pdf export